package com.qf.service;

/**
 * @author lixu
 */
public class ZufangServiceImpl implements ZufangService {


    //房东
    private ZufangService zufangService;
    public void setZufangService(ZufangService zufangService) {
        this.zufangService = zufangService;
    }

    /**
     * 中介
     */
    public void zufang() {
        System.out.println("我们联系中介");
        System.out.println("带着我们去看房");
        //房东
        zufangService.zufang();//核心业务

        System.out.println("维修");
        System.out.println("转租");
    }


    /**
     * 租房
     */
/*    public void zufang() {
        System.out.println("我们联系中介");
        System.out.println("带着我们去看房");
        System.out.println("签同合（房东）");
        System.out.println("付三押一（房东）");
        System.out.println("维修");
        System.out.println("转租");
    }*/

}
